# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: icoz <icoz.vt at gmail dot com>
pkgname=vulscan
pkgver=2.0
pkgrel=4
pkgdesc='A module which enhances nmap to a vulnerability scanner'
url='https://www.computec.ch/projekte/vulscan/'
arch=('any')
license=('GPL')
depends=('nmap')
source=("https://www.computec.ch/projekte/vulscan/download/nmap_nse_vulscan-$pkgver.tar.gz")
sha512sums=('d5c45316a0c16600e32b9220948424c84df6c002f5ba3cddc9a04368c183a29adda0a3ee98386f1955e083dfc1d35b366604182f37b91bb1801506feb43dc013')
replaces=(nmap-vulscan)
provides=(nmap-vulscan)
conflicts=(nmap-vulscan)

package() {
  install -dm755 "$pkgdir/usr/share/nmap/scripts/"
  cp -a $pkgname "$pkgdir/usr/share/nmap/scripts/vulscan"
}
